#ifndef CONSTANTS_H
#define CONSTANTS_H

//Mesh constants

const int   VERTS_PER_RING       = 15;

//Leaf constants

const double MIN_PHI             = 0.0;
const double MAX_PHI             = M_PI * .7;

const double MIN_LEAF_SIZE          = 2.0;
const double MAX_LEAF_SIZE          = 5.0;
const int    MIN_LEAF_PER_BRANCH    = 5;
const int    MAX_LEAF_PER_BRANCH    = 20;
const int    NUM_LEAF_COLORS        = 3;


const int MAX_STEMS_BRANCH          = 10;
const int MIN_STEMS_BRANCH          = 3;
const double MIN_STEM_RATIO          = 1.0;
const int MIN_LEAF_STEM             = 3;
const int MAX_LEAF_STEM             = 6;
//actually sqrt of max and min:
const double MAX_DIST_STEM          = 4.0*MIN_LEAF_SIZE;
const double MIN_DIST_STEM          = 2.0*MIN_LEAF_SIZE;

//Tree Generation / Shape
const float  BRANCH_START_DIAMETER  = .05;
//should be around 2 - 3, with smaller making it get fatter:
const float BRANCH_DIAMETER_RATE = 2.0;



#endif // CONSTANTS_H
